package com.immediatus.engine.util;

public abstract class RunnablePoolUpdateHandler<T extends RunnablePoolItem> extends PoolUpdateHandler<T>{

    public RunnablePoolUpdateHandler(){
    }

    public RunnablePoolUpdateHandler(final int size_){
        super(size_);
    }

    @Override
    protected abstract T onAllocatePoolItem();

    @Override
    protected void onHandlePoolItem(final T item){
        item.run();
    }
}
